<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Unhandled Promise rejection</title>
</head>
<body>
    <button id="button" onclick="Promise.reject('Rejection reason')">Reject</button>
</body>
</html>